package com.chy.blog_web.modular.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chy.blog_web.modular.web.entity.BoMusic;
import com.chy.blog_web.modular.web.mapper.BoMusicMapper;
import com.chy.blog_web.modular.web.service.IBoMusicService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Map;

/**
 * 描述：音乐表 service业务层
 * 作者：chenhuiyan
 * 时间：2020/03/20 12:03
 */
@Service
@Transactional(readOnly = true)
public class BoMusicServiceImpl extends ServiceImpl<BoMusicMapper, BoMusic> implements IBoMusicService {

    /**
     * 查询列表
     * @return
     */
    public List<Map<String, Object>> getMusicList(){
        return baseMapper.getMusicList();
    }

}
